/**
 * 退款
 */
import fetch from '@/utils/fetch';

const refundApi = {
    getPageList (params) {
        return fetch({
            url: '/api/refund/list',
            method: 'get',
            params:params
        });
    },
    getDetail (id) {
        return fetch({
            url: '/api/refund/' + id,
            method: 'get'
        });
    },
    update(data) {
        return fetch({
            url: '/api/refund/',
            method: 'put',
            params:data
        });
    }

};
export default refundApi;
